//
//  PaperSendViewManager.m
//  ZYOnlineSchool
//
//  Created by 毕武侠 on 2017/3/1.
//  Copyright © 2017年 bwx. All rights reserved.
//

#import "PaperSendViewManager.h"

@implementation PaperSendViewManager

- (void)setupConfigure {
    [super setupConfigure];
    
    
    [self setupLoadingView:self.superView];
}

// 试题类型 0：智能刷题 1：高频错题 2：考点专练 3：历年真题  6:错题练习（自己加的）
- (void)setQues_type:(NSNumber *)ques_type {
    _ques_type = ques_type;
    NSUInteger quest_index = [ques_type integerValue];
    if (quest_index == 0) {
        self.url = SubmitTestResult;
        self.rmodel = @"CapabilityAssessmentModel";
    } else if (quest_index == 1) {
        self.url = @"Question/gpctsubmit";
        self.rmodel = @"CapabilityAssessmentModel";
    } else if (quest_index == 2) {
        self.url = @"Question/kdzlsubmit";
        self.rmodel = @"CapabilityAssessmentModel";
    } else if (quest_index == 3) {
        self.url = @"Question/lnztsubmitajax";
        self.rmodel = @"PaperAssessmentModel";
    } else if (quest_index == 6) {
        self.url = @"Question/mrylsubmitajax";
        self.rmodel = @"CapabilityAssessmentModel";
    } else if (quest_index == 7) {
        self.url = @"Question/ctjlsubmitajax";
        self.rmodel = @"CapabilityAssessmentModel";
    } else if (quest_index == 8){
        self.url = @"Question/course_ques_submit";
        self.rmodel = @"CapabilityAssessmentModel";
    }
}

@end
